FROM openjdk:11

COPY build/libs/app.jar .

ADD src/scripts/entry-point.sh entry-point.sh
RUN exec chmod 755 entry-point.sh
ENTRYPOINT ["/entry-point.sh"]